<div class="container main-content">

	<h1>Upload slike</h1>
	
	<% form_for @image, :html => {:multipart => true} do |f| %>
		
		<div class="form">
		  <%= f.label :image, 'Datoteka' %> <br>
		  <%= f.file_field :image %>
		</div>
		
		<%= f.submit "Upload" %>
	
	<% end %>

	<div class="admin_links">
		<%= link_to "Sve slike", images_path %>
	</div>
</div>